package com.yida.wy.basic.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.yida.wy.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 物业公司评分详情表 实体类。
 *
 * @author lqq
 * @since 1.0
 */
@Data
@ApiModel(value = "物业公司评分详情表", description = "物业公司评分详情表")
@Table(value = "wy_property_management_company_score")
public class WyPropertyManagementCompanyScore extends BaseEntity {

    /**
     * 业务主键
     */
    @ApiModelProperty(value = "业务主键")
    @Id(keyType = KeyType.Auto)
    private Long businessId;

    /**
     * 物业公司ID
     */
    @ApiModelProperty(value = "物业公司ID")
    @Column(value = "property_management_company_id")
    private Long propertyManagementCompanyId;

    /**
     * 分数ID
     */
    @ApiModelProperty(value = "分数ID")
    @Column(value = "company_score_id")
    private Long companyScoreId;

    /**
     * 创建年份
     */
    @ApiModelProperty(value = "创建年份")
    @Column(value = "create_year")
    private Integer createYear;

    /**
     * 创建月份
     */
    @ApiModelProperty(value = "创建月份")
    @Column(value = "create_month")
    private Integer createMonth;

    /**
     * 审批状态:0未审批;1已审批
     */
    @ApiModelProperty(value = "审批状态:0未审批;1已审批")
    @Column(value = "approval_status")
    private Integer approvalStatus;

    /**
     * 审批人
     */
    @ApiModelProperty(value = "审批人")
    @Column(value = "approver")
    private String approver;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    @Column(value = "approval_time")
    private Date approvalTime;

    /**
     * 审批意见
     */
    @ApiModelProperty(value = "审批意见")
    @Column(value = "approval_remark")
    private String approvalRemark;


}
